package com.fowo.api.model.nav.logistics.warehouse.issu;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 物流管理-第三方仓物流-标发设置 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class NavLogisticsWarehouseIssuImportPo {

  /** 所属物流管理-API对接物流-发货设置 */
  @ExcelProperty("所属物流管理-API对接物流-发货设置")
  @Size(max = 50, message = "所属物流管理-API对接物流-发货设置长度不能超过50")
  private String parentNavLogisticsWarehouseWarehouseId;

  @ExcelIgnore
  @Schema(title = "所属物流管理-API对接物流-发货设置")
  private String parentNavLogisticsWarehouse;

  /** 转FBA配送实际承运人 */
  @ExcelProperty("*转FBA配送实际承运人")
  @NotBlank(message = "转FBA配送实际承运人不能为空")
  @Size(max = 50, message = "转FBA配送实际承运人长度不能超过50")
  private String fbaCarrier;

  /** 承运商 */
  @ExcelProperty("承运商")
  @Size(max = 50, message = "承运商长度不能超过50")
  private String carrierName;

  @ExcelIgnore
  @Schema(title = "承运商")
  private String carrier;

  /** 配送服务 */
  @ExcelProperty("配送服务")
  @Size(max = 50, message = "配送服务长度不能超过50")
  private String deliveryService;

  /** 查询地址 */
  @ExcelProperty("查询地址")
  @Size(max = 50, message = "查询地址长度不能超过50")
  private String searchAddress;
}
